import { Component, OnInit, Input, Injector } from '@angular/core';
import { NgZorroPageBaseComponent } from '../../core/ng-zorro-page-base-component/ng-zorro-page-base-component.component';
import { HttpService } from "../../core/service/http.service";
import { Router, Route, ActivatedRoute } from "@angular/router";
import {
    AndOr, Compare, ExpressionPair, PagedResultDto, PagerSearchInput, ElementViewType, BaseComponentConfig, SonPagerSearchInput,
    SystemFormControl, FieldType, CustomNavigation, ElementShowType, KeyValueOutput, SystemFormControlOutput,
    DrillRoleOutput,
    DrillGroup
} from "../..";
import { NzMessageService, NzModalService } from 'ng-zorro-antd';
import {
    FormBuilder, FormGroup, FormsModule, ReactiveFormsModule, Validators,
    FormControl
} from "@angular/forms";

@Component({
    selector: 'app-drill-group',
    templateUrl: '../../core/ng-zorro-page-base-component/ng-zorro-page-base-component.component.html',
    styleUrls: ['../../core/ng-zorro-page-base-component/ng-zorro-page-base-component.component.scss']
})
export class DrillGroupComponent extends NgZorroPageBaseComponent implements OnInit {
    constructor(injector: Injector) {
        super(injector,
            new BaseComponentConfig(
                "DrillFlow/GetPagerDrillGroups",
                "DrillFlow/CreateFormGroup",
                "DrillFlow/UpdateFormGroup",
                "DrillFlow/GetFormGroup",
                "DrillFlow/DeteleFormGroup",
                "id",
                "DrillGroup",
                "字段分组",
                null,
                "drillFlowId"
            ));
        this.showTitile = false;
    }

    getNewEntity(): DrillGroup {
        return new DrillGroup();
    }

    navigateCustom(url: string, pid: any) {
        throw new Error("Method not implemented.");
    }

    showModalForComponent() {
        throw new Error("Method not implemented.");
    }
}
